package com.mentaleye.biz;

import java.util.List;

import com.mentaleye.bean.RolePersonBean;
import com.mentaleye.util.CommonPage;
import com.mentaleye.util.CommonResult;

public interface RolePersonBiz {

	public CommonResult addRolePerson(RolePersonBean rolePersonBean);
	
	public CommonResult addRolePersonList(List<RolePersonBean> rolePersonBeanList);
	
	public CommonResult dropRolePersonByPersonNo(Integer personNo,Integer roleNo,Integer personType);
	
	public CommonResult dropRolePersonByPersonList(List<Integer> ids,Integer roleNo);
	
	public List<RolePersonBean> getRolePerson(Integer roleNo);
	
	public void queryRolePersonByPage(CommonPage commonPage);
}
